package net.e4net.watrix.action.join;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import net.e4net.watrix.ActionResponse;
import net.e4net.watrix.ResponseData;
import net.e4net.watrix.WatrixContext;
import net.e4net.watrix.WatrixException;
import net.e4net.watrix.base.member.MemberVO;
import net.e4net.watrix.common.hao.RequestParser;
import net.e4net.watrix.common.tao.TaoConnection;
import net.e4net.watrix.common.tao.TaoDataSet;
import net.e4net.watrix.common.tao.TaoResult;
import net.e4net.watrix.example.base.ExamConstants;
import net.e4net.watrix.runtime.AbstractAction;
import net.e4net.watrix.runtime.ActionException;

public class checkedIDActn extends AbstractAction{

	@SuppressWarnings("unchecked")
	public ActionResponse execute(WatrixContext context, HttpServletRequest request,
			HttpServletResponse response) throws IOException, ServletException,
			WatrixException {
			
		RequestParser parser = context.getRequestParser("default",request,response);
		ResponseData resData = super.getResponseData(request);
		
		String id = parser.getParameter("ID");

		resData.put("ID", id);
		
		return super.getActionResponse(context);
	}
		
}
